<?php

class B2b_Widgets_Homeadvs_Widget extends Tomato_Widget
{
    protected function _prepareShow()
    {	
		$path_data 		   = 'application/modules/b2b/widgets/data';
		require_once 	   $path_data.'/mainpageXML.php';
		$path_xml_mainpage = $path_data . '/mainpage.xml';
		$mainpageObj = new mainpageXML($path_xml_mainpage);
		$this->_view->assign("advs",$mainpageObj->getAdvs());
    }

    protected function _prepareConfig()
    {					
    }
}
